# -*- coding: utf-8 -*-

from django import newforms as forms
from captcha.forms import CaptchaForm

#------------------------------------------------------------------------------ 
class CommentForm(CaptchaForm):
    user_name = forms.CharField(label="Name", max_length=100,required=False, widget=forms.widgets.Input(attrs={'class':'username'})) 
    comment =  forms.CharField(label="Comment", widget=forms.widgets.Textarea(attrs={'class':'comment'}))
    object_id = forms.CharField(max_length=200, widget=forms.widgets.HiddenInput())
    content_type = forms.CharField(max_length=100, widget=forms.widgets.HiddenInput())

#------------------------------------------------------------------------------ 
class CommentFormAuth(forms.Form):
    ""
    comment =  forms.CharField(label="Comment", widget=forms.widgets.Textarea(attrs={'class':'comment'}))
    object_id = forms.CharField(max_length=200, widget=forms.widgets.HiddenInput())
    content_type = forms.CharField(max_length=100, widget=forms.widgets.HiddenInput())

#------------------------------------------------------------------------------ 
